from flask import Blueprint

from libs.external_api import ExternalApi

bp = Blueprint("common", __name__, url_prefix="/common/api")
api = ExternalApi(bp)
# File
from controllers.common.files import FileApi,FilePreviewURLApi
api.add_resource(FileApi, "/files/upload")
api.add_resource(FilePreviewURLApi,"/files/preview/url")


# Import other controllers
from . import  ping, version
